<?php
/**
 * Created by PhpStorm.
 * User: boye009
 * Date: 2016/2/27
 * Time: 10:07
 * editor : zhouzhou
 * 店铺优惠api
 */

namespace app\shop\api;

use app\common\api\BaseApi;
use app\shop\model\StorePromotion;

class StorePromotionApi extends BaseApi{

    /**
     * 添加
     */
    const ADD = "shop/StorePromotionApi/add";

    /**
     * 查询一条数据
     */
    const GET_INFO = "shop/StorePromotionApi/getInfo";

    /**
     * 删除
     */
    const DELETE = "shop/StorePromotionApi/delete";

    /**
     * 统计
     */
    const COUNT = "shop/StorePromotionApi/count";

    /**
     * 保存
     */
    const SAVE = "shop/StorePromotionApi/save";

    protected function _init(){
        $this -> model = new StorePromotion();
    }

}